package com.zcc.thread;

public class HelloThread2 implements Runnable {
    @Override
    public void run() {
        for (int i = 0; i < 1000; i++) {
            System.out.println("runnable"+i);
        }
    }

    public static void main(String[] args) {
        new Thread(new HelloThread2()).start();
        for (int i = 0; i < 1000; i++) {
            System.out.println("main"+i);
        }
    }
}
